package PTA.Mianxiangduixiang.ex22;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class Student implements Comparable {
    private String name;
    private int age;
    private int score;
    private String className;

    public Student() {
    }

    public Student(String name, int age, int score, String className) {
        this.name = name;
        this.age = age;
        this.score = score;
        this.className = className;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public int compareTo(Object o) {
Student s = (Student)o;



        return 0;
    }
}


public class ex22 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        List<Student> stulist = new ArrayList<Student>();

        String str[] = new String[5];
        while(sc.hasNextLine()){
            String line = sc.nextLine();
        }
    }
}
